/*
 * @Author: YNT 2501512800@qq.com
 * @Date: 2022-06-19 15:06:46
 * @LastEditors: YNT 2501512800@qq.com
 * @LastEditTime: 2022-09-29 03:09:40
 * @FilePath: \智慧社区的副本\src\api\modules\basic-data.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default class {
  // 设备列表
  getEquipmentList(params) {
    return this.request({
      url: `/admin/v1/iot/device/list`,
      params
    })
  }

  // 设备详情
  EquipmentDetail(id) {
    return this.request({
      url: `/admin/v1/iot/device/detail?id=${id}`,
      method: 'GET'
    })
  }
}
